<template>
  <div id="app">
    <keep-alive>
	    <router-view ></router-view>
    </keep-alive>
    <div class="tabbar">
      <el-menu class="el-menu-demo " mode="horizontal" :router="true">
        <el-menu-item index="/Home" class="el-menu-item">        <i class="el-icon-s-home " ></i></el-menu-item>
        <el-menu-item index="/Time" class="el-menu-item">        <i class="el-icon-time "></i></el-menu-item>
        <el-menu-item index="/Picture"  class="el-menu-item">     <i class="el-icon-camera-solid "></i></el-menu-item>
        <el-menu-item index="/Sofa" class="el-menu-item">        <i class="el-icon-receiving "></i></el-menu-item>
        <el-menu-item index="/Collextion" class="el-menu-item">  <i class="el-icon-star-on "></i></el-menu-item>
      </el-menu>
    </div>
  </div>
</template>

<script>

export default {
  name: 'App',
  components: {
  },
  data(){
    return {
    }
  }
}
</script>

<style lang="less">

*{
  margin: 0px;
  padding: 0px;
}
#app {
  position: relative;
  width: 10rem;
  height: 100vh;
  
  .tabbar {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    .el-menu-demo {
      width: 10rem;
      display: flex;
      background-color: rgb(105, 95, 86) !important;
      .el-menu-item{
        flex: 1;
        height: 1.33rem !important;
        line-height: 1.33rem !important;
        text-align: center;
      }
    }
  }
}
.el-icon-s-home::before,
.el-icon-time::before,
.el-icon-camera-solid::before,
.el-icon-receiving::before,
.el-icon-star-on::before
 {
  margin: auto;
  font-size: 0.7rem;
  color: rgb(150, 143, 136);
}


.is-active {
  background-color: rgb(105, 95, 86) !important;
  border-bottom-color: transparent !important;
  color:rgb(241, 126, 86) !important;
}
</style>
